package com.picrepo.app;

public class AppData
{
	/**
	 * All the URL for the application.
	 */
	public static final String BASE_URL = "http://192.168.1.5:9090";
	public static final String ACCOUNT_POST_URL = BASE_URL + "/account";
	public static final String UPLOAD_POST_URL = BASE_URL + "/upload";
	public static final String VIEW_GET_URL = BASE_URL + "/view";
	
	/**
	 * Authority for user.
	 */
	public static final int AUTHORITY_ERROR = -1;
	public static final int AUTHORITY_ADMIN = 0x0;
	public static final int AUTHORITY_UPLOAD = 0x1;
	public static final int AUTHORITY_VIEW = 0x2;
	
	/**
	 * Code for uploading.
	 */
	public static final int UPLOAD_ERROR = -1;
	public static final int UPLOAD_OK = 0;
}
